package com.moorror.codegenvel.utils;

/**
 * @Author jiyanghuang
 * @Date 2025/10/2 13:21
 */
public class VelocityToolUtils {

    private static volatile VelocityToolUtils instance;

    /**
     * 私有构造方法
     */
    private VelocityToolUtils() {
    }

    /**
     * 双重生成单例对象
     */
    public static VelocityToolUtils getInstance() {
        if (instance == null) {
            synchronized (VelocityToolUtils.class) {
                if (instance == null) {
                    instance = new VelocityToolUtils();
                }
            }
        }
        return instance;
    }

    public static String clsNameByFullName(String fullName) {
        return NameUtils.clsNameByFullName(fullName);
    }
}
